#include<bits/stdc++.h>
using namespace std;

int main()
{
	double a, b, c;
	cin>>a>>b>>c;
	cout<<fixed<<setprecision(2);
	cout<<"x1=";
	cout<<(-b-sqrt(b*b-4*a*c))/(2*a)<<endl;
	cout<<"x2=";
	cout<<(-b+sqrt(b*b-4*a*c))/(2*a)<<endl;
    return 0;
}

